﻿using Business;
using Model;
using Model.Xcode;
using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Utilities;

namespace DingTalkConsole
{
    class Program
    {
        static void Main(string[] args)
        {
            #region 测试
            //GetDepartmentList();
            //GetDepartment2("44700154");
            //UpdateDepartment();
            //AddDepartment();
            //AddEmployee();
            //GetByDepartmentIdForUserInfoList();
            //GetEmployee("landon1");
            //UpdateEmployee();
            //DeleteEmployee();
            //DeleteDepartment("44715488");
            //BatchDeleteEmployee();
            #endregion

            #region 重新初始化
            //DeleteDepartment("44967021");
            //AddDepartment();
            #endregion

            SynchronousDingTalk.Synchronous();

            Console.Write("\n同步完成！\r\n");
            Console.ReadKey();
        }
    }
}
